package com.sd.cti.server.cmd;

import com.sd.common.utils.cti.XPath;

/**
 * 坐席登录命令
 */
public class AgentLoginCmd {
    @XPath("//agentId")
    private String agentId;
    @XPath("//station")
    private String station;
    @XPath("//passWord")
    private String passWord;
    @XPath("//userData")
    private String userData;
    @XPath("//permission")
    private String permission;
    @XPath("//state")
    private String state;
    @XPath("//reason")
    private String reason;
    @XPath("//ip")
    private String ip;
    @XPath("//port")
    private String port;
    @XPath("//event")
    private String event;

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getStation() {
        return station;
    }

    public void setStation(String station) {
        this.station = station;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getUserData() {
        return userData;
    }

    public void setUserData(String userData) {
        this.userData = userData;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }

    @Override
    public String toString() {
        return "AgentLoginModel{" +
                "agentId='" + agentId + '\'' +
                ", station='" + station + '\'' +
                ", passWord='" + passWord + '\'' +
                ", userData='" + userData + '\'' +
                ", permission='" + permission + '\'' +
                ", state='" + state + '\'' +
                ", reason='" + reason + '\'' +
                ", ip='" + ip + '\'' +
                ", port='" + port + '\'' +
                ", event='" + event + '\'' +
                '}';
    }
}
